Information pushing method, server, sharer client and third-party client

ABSTRACT

Disclosed in an embodiment of the present application is an information pushing method, comprising: a wireless network sharer client obtaining a first identifier of a wireless network selected from a wireless network list scanned/stored by a wireless network sharer terminal, and sending the same to a server; the server generating a second identifier and sending the same to the wireless network sharer client; the wireless network sharer changing the first identifier of the wireless network into a third identifier based on the second identifier; the wireless network sharer client obtaining a wireless network list updated by a wireless network sharer mobile terminal and sending the third identifier of the selected wireless network in the list to the server; and the server comparing the second identifier with the third identifier, and allowing successful authentication when the two identifiers are consistent, and registering information about the devices of the wireless network.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a continuation of U.S. application Ser. No. 15/326,908, filed on Jan. 17, 2017, and entitled “Information Pushing Method, Server, Sharer Client and Third-Party Client”, which is a national phase application of International Application No. PCT/CN2015/084338, filed on Jul. 17, 2015. The International Application No. PCT/CN2015/084338 claims priority to and benefits of Chinese Patent Application No. 201410389741.3, filed on Aug. 8, 2014. The contents of the above-referenced applications are incorporated herein by reference in their entirety.

TECHNICAL FIELD

The present application relates to the field of communication technologies, and in particular, to an information pushing method, server, sharer client and third-party client.

BACKGROUND ART

In the prior art, information pushing is generally implemented by sending information to a client through polling by a server. Specifically, the server detects a connection with the client at a certain time interval, or establishes a connection with the client periodically; therefore, the server sends generated information to the client when there is an effective connection.

In the process of implementing the present application, the inventor finds that the prior art at least has the following problem:

the timing of information pushing in the prior art cannot be associated with establishment of a specific connection.

SUMMARY

An objective of embodiments of the present application is to provide an information pushing method, server, sharer client and third-party client, to associate the timing of information pushing with the establishment of a specific connection.

To solve the above technical problem, the embodiments of the present application provide an information pushing method, server, sharer client and third-party client, which are implemented as follows:

An information pushing method, including:

a wireless network sharer client obtaining a first identifier of a wireless network selected from a wireless network list scanned/stored by a wireless network sharer terminal, and sending the same to a server;

the server generating a second identifier and sending the same to the wireless network sharer client;

the wireless network sharer changing the first identifier of the wireless network into a third identifier based on the second identifier;

the wireless network sharer client obtaining a wireless network list updated by a wireless network sharer mobile terminal and sending the third identifier of the selected wireless network in the list to the server; and

the server comparing the second identifier with the third identifier, allowing successful authentication when the two identifiers are consistent, and registering information about the devices of the wireless network;

where the method further includes:

the wireless network sharer configuring the wireless network sharer client/the wireless network device to send push information to a third-party terminal upon reception of a message indicating successful access of the third-party terminal to the wireless network.

An information pushing method, including:

a wireless network sharer client obtaining a first identifier of a wireless network selected from a wireless network list scanned/stored by a wireless network sharer terminal, and sending the same to a server;

the server generating a second identifier and sending the same to the wireless network sharer client;

the wireless network sharer changing the first identifier of the wireless network into a third identifier based on the second identifier;

the wireless network sharer client obtaining a wireless network list updated by a wireless network sharer mobile terminal and sending the third identifier of the selected wireless network in the list to the server; and

the server comparing the second identifier with the third identifier, allowing successful authentication when the two identifiers are consistent, and registering information about the devices of the wireless network;

where the method further includes:

the wireless network sharer client sending push information to the server, and notifying the server to send the push information to a third-party terminal upon reception of a message indicating successful access of the third-party terminal to the wireless network.

An information pushing method, including:

a wireless network sharer client obtaining a first identifier of a wireless network selected from a wireless network list scanned/stored by a wireless network sharer terminal and a MAC address of a corresponding wireless network device, and sending the same to a server;

the server generating a second identifier and sending the same to the wireless network sharer client;

the wireless network sharer changing the first identifier of the wireless network into a third identifier based on the second identifier;

the wireless network sharer client obtaining a wireless network list updated by a wireless network sharer mobile terminal and sending the third identifier of the selected wireless network in the list and a MAC address of a corresponding wireless network device to the server; and

the server comparing the second identifier with the third identifier, comparing the MAC address of the wireless network device corresponding to the first identifier with the MAC address of the wireless network device corresponding to the third identifier, and allowing successful authentication when the comparison results are consistent;

where the method further includes:

the wireless network sharer configuring the wireless network sharer client/the wireless network device to send push information to a third-party terminal upon reception of a message indicating successful access of the third-party terminal to the wireless network.

An information pushing method, including:

a wireless network sharer client obtaining a first identifier of a wireless network selected from a wireless network list scanned/stored by a wireless network sharer terminal and a MAC address of a corresponding wireless network device, and sending the same to a server;

the server generating a second identifier and sending the same to the wireless network sharer client;

the wireless network sharer changing the first identifier of the wireless network into a third identifier based on the second identifier;

the wireless network sharer client obtaining a wireless network list updated by a wireless network sharer mobile terminal and sending the third identifier of the selected wireless network in the list and a MAC address of a corresponding wireless network device to the server; and

the server comparing the second identifier with the third identifier, comparing the MAC address of the wireless network device corresponding to the first identifier with the MAC address of the wireless network device corresponding to the third identifier, and allowing successful authentication when the comparison results are consistent;

where the method further includes:

the wireless network sharer client sending push information to the server, and notifying the server to send the push information to a third-party terminal upon reception of a message indicating successful access of the third-party terminal to the wireless network.

An information pushing method, including:

a server receiving a first identifier of a selected wireless network sent by a wireless network sharer client;

the server generating a second identifier and sending the same to the wireless network sharer client;

the server receiving a third identifier of the selected wireless network sent by the wireless network sharer client; and

the server comparing the second identifier with the third identifier, allowing successful authentication when the two identifiers are consistent, and registering information about the devices of the wireless network.

An information pushing method, including:

a server receiving a first identifier of a selected wireless network sent by a wireless network sharer client and a MAC address of a corresponding wireless network device;

the server generating a second identifier and sending the same to the wireless network sharer client;

the server receiving a third identifier of the selected wireless network sent by the wireless network sharer client and a MAC address of a corresponding wireless network device; and

the server comparing the second identifier with the third identifier, comparing the MAC address of the wireless network device corresponding to the first identifier with the MAC address of the wireless network device corresponding to the third identifier, and allowing successful authentication when the comparison results are consistent.

An information pushing method, including:

a wireless network sharer client obtaining a first identifier of a wireless network selected from a wireless network list scanned/stored by a wireless network sharer terminal, and sending the same to a server;

the wireless network sharer client receiving a second identifier sent by the server; and

the wireless network sharer client obtaining a wireless network list updated by a wireless network sharer mobile terminal and sending a third identifier of the selected wireless network in the list to the server.

An information pushing method, including:

a wireless network sharer client obtaining a first identifier of a wireless network selected from a wireless network list scanned/stored by a wireless network sharer terminal and a MAC address of a corresponding wireless network device, and sending the same to a server;

the wireless network sharer client receiving a second identifier sent by the server and a MAC address of a corresponding wireless network device; and

the wireless network sharer client obtaining a wireless network list updated by a wireless network sharer mobile terminal and sending a third identifier of the selected wireless network in the list and a MAC address of a corresponding wireless network device to the server.

An information pushing method, including:

a third-party terminal entering a wireless shared network area, and a third-party client obtaining a device MAC address broadcast by the wireless shared network;

the third-party client comparing the obtained MAC address with a MAC address in a stored MAC address list, and when the obtained MAC address is in the stored MAC address list, the third-party client obtaining a corresponding wireless network identifier from a correspondence between a stored MAC address and a wireless network identifier;

the third-party client initiating a connection request to a wireless network corresponding to the MAC address by using the obtained wireless network identifier; and

after the third-party client is successfully connected to the wireless network corresponding to the MAC address by using the obtained wireless network identifier, further including: receiving push information sent by the connected wireless network device/wireless network sharer client/server.

An information pushing method, including:

a third-party terminal entering a wireless shared network area, and a third-party client obtaining a device MAC address broadcast by the wireless shared network;

the third-party client comparing the obtained MAC address with a MAC address in a stored MAC address list, and when the obtained MAC address is in the stored MAC address list, the third-party client obtaining a corresponding wireless network identifier and connection key from a correspondence between a stored MAC address and a wireless network identifier as well as a connection key;

the third-party client initiating a connection request to a wireless network corresponding to the MAC address by using the obtained wireless network identifier and connection key; and

after the third-party client is successfully connected to the wireless network corresponding to the MAC address by using the obtained wireless network identifier, further including: receiving push information sent by the connected wireless network device/wireless network sharer client/server.

An information pushing method, including:

a third-party terminal entering a wireless shared network area, and a third-party client obtaining a first set of device MAC addresses broadcast by the wireless shared network;

the third-party client comparing the obtained first set of MAC addresses with a second set of MAC addresses in a stored MAC address list in the same wireless network shared area, and when the number of MAC addresses in an intersection reaches or exceeds a predetermined number, the third-party client obtaining wireless network identifiers corresponding to the MAC addresses in the intersection from a correspondence between a stored MAC address and a wireless network identifier;

the third-party client initiating a connection request to a wireless network corresponding to the MAC address by using at least one of the obtained wireless network identifiers; and

after the third-party client is successfully connected to the wireless network corresponding to the MAC address by using the wireless network identifier according to which the connection request is initiated, further including: the third-party client receiving push information sent by the connected wireless network device/wireless network sharer client/server.

An information pushing method, including:

a third-party terminal entering a wireless shared network area, and a third-party client obtaining a first set of device MAC addresses broadcast by the wireless shared network;

the third-party client comparing the obtained first set of MAC addresses with a second set of MAC addresses in a stored MAC address list, and when the number of MAC addresses in an intersection reaches or exceeds a predetermined number, the third-party client obtaining wireless network identifiers and connection keys corresponding to the MAC addresses in the intersection from a correspondence between a stored MAC address and a wireless network identifier as well as a connection key;

the third-party client initiating a connection request to a wireless network corresponding to the MAC address by using at least one pair of the obtained wireless network identifiers and corresponding connection keys; and

after the third-party client is successfully connected to the wireless network corresponding to the MAC address by using the wireless network identifier and the corresponding connection key according to which the connection request is initiated, further including: the third-party client receiving push information sent by the connected wireless network device/wireless network sharer client/server.

A server, including:

a first receiving unit, configured to receive a first identifier of a selected wireless network sent by a wireless network sharer client;

a second receiving unit, configured to receive a third identifier of the selected wireless network sent by the wireless network sharer client; and

a comparison unit, configured to compare the second identifier with the third identifier, allow successful authentication when the two identifiers are consistent, and register information about the devices of the wireless network.

A server, including:

a first receiving unit, configured to receive a first identifier of a selected wireless network sent by a wireless network sharer client and a MAC address of a corresponding wireless network device;

a generation unit, configured to generate a second identifier and send the same to the wireless network sharer client;

a second receiving unit, configured to receive a third identifier of the selected wireless network sent by the wireless network sharer client and a MAC address of a corresponding wireless network device; and

a comparison unit, configured to compare the second identifier with the third identifier, compare the MAC address of the wireless network device corresponding to the first identifier with the MAC address of the wireless network device corresponding to the third identifier, and allow successful authentication when the comparison results are consistent.

A wireless network sharer client, including:

a first obtaining unit, configured to obtain a first identifier of a wireless network selected from a wireless network list scanned/stored by a wireless network sharer terminal, and send the same to a server;

a fifth receiving unit, configured for the wireless network sharer client to receive a second identifier sent by the server; and

a second obtaining unit, configured to obtain a wireless network list updated by a wireless network sharer mobile terminal and send a third identifier of the selected wireless network in the list to the server.

A wireless network sharer client, including:

a first obtaining unit, configured to obtain a first identifier of a wireless network selected from a wireless network list scanned/stored by a wireless network sharer terminal and a MAC address of a corresponding wireless network device, and send the same to a server;

a fifth receiving unit, configured for the wireless network sharer client to receive a second identifier sent by the server and a MAC address of a corresponding wireless network device; and

a second obtaining unit, configured to obtain a wireless network list updated by a wireless network sharer mobile terminal and send a third identifier of the selected wireless network in the list and a MAC address of a corresponding wireless network device to the server.

A third-party client, including:

a third obtaining unit, configured to, when a third-party terminal enters a wireless shared network area, obtain a device MAC address broadcast by the wireless shared network;

a fourth obtaining unit, configured to compare the obtained MAC address with a MAC address in a stored MAC address list, and when the obtained MAC address is in the stored MAC address list, obtain a corresponding wireless network identifier from a correspondence between a stored MAC address and a wireless network identifier;

a requesting unit, configured to initiate a connection request to a wireless network corresponding to the MAC address by using the obtained wireless network identifier; and

a seventh receiving unit, configured to receive push information sent by the connected wireless network device/wireless network sharer client/server.

A third-party client, including:

a third obtaining unit, configured to, when a third-party terminal enters a wireless shared network area, obtain a device MAC address broadcast by the wireless shared network;

a fourth obtaining unit, configured to compare the obtained MAC address with a MAC address in a stored MAC address list, and when the obtained MAC address is in the stored MAC address list, the third-party client obtaining a corresponding wireless network identifier and connection key from a correspondence between a stored MAC address and a wireless network identifier as well as a connection key;

a requesting unit, configured to initiate a connection request to a wireless network corresponding to the MAC address by using the obtained wireless network identifier and connection key; and

a seventh receiving unit, configured to receive push information sent by the connected wireless network device/wireless network sharer client/server.

A third-party client, including:

a third obtaining unit, configured to, when a third-party terminal enters a wireless shared network area, obtain a first set of device MAC addresses broadcast by the wireless shared network;

a fourth obtaining unit, configured to compare the obtained first set of MAC addresses with a second set of MAC addresses in a stored MAC address list in the same wireless network shared area, and when the number of MAC addresses in an intersection reaches or exceeds a predetermined number, the third-party client obtaining wireless network identifiers corresponding to the MAC addresses in the intersection from a correspondence between a stored MAC address and a wireless network identifier;

a requesting unit, configured to initiate a connection request to a wireless network corresponding to the MAC address by using at least one of the obtained wireless network identifiers; and

a seventh receiving unit, configured to receive push information sent by the connected wireless network device/wireless network sharer client/server.

A third-party client, including:

a third obtaining unit, configured to, when a third-party terminal enters a wireless shared network area, obtain a first set of device MAC addresses broadcast by the wireless shared network;

a fourth obtaining unit, configured to compare the obtained first set of MAC addresses with a second set of MAC addresses in a stored MAC address list, and when the number of MAC addresses in an intersection reaches or exceeds a predetermined number, the third-party client obtaining wireless network identifiers and connection keys corresponding to the MAC addresses in the intersection from a correspondence between a stored MAC address and a wireless network identifier as well as a connection key;

a requesting unit, configured to initiate a connection request to a wireless network corresponding to the MAC address by using at least one pair of the obtained wireless network identifiers and corresponding connection keys; and

a seventh receiving unit, configured to receive push information sent by the connected wireless network device/wireless network sharer client/server.

It can be seen from the technical solution provided in the embodiments of the present application that the embodiments of the present application may make the timing of information pushing be associated with the establishment of a specific connection.

BRIEF DESCRIPTION OF THE DRAWINGS

To describe the technical solutions in the embodiments of the present application or the prior art more clearly, the accompanying drawings to be used in the descriptions about the embodiments or the prior art are briefly introduced in the following. Apparently, the accompanying drawings in the following descriptions are merely some embodiments described in the present application, and persons of ordinary skill in the art can also derive other drawings from these accompanying drawings without creative efforts.

FIG. 1 is a flow chart of an embodiment of an information pushing method according to the present application;

FIG. 2 is a flow chart of an embodiment of an information pushing method according to the present application;

FIG. 3 is a flow chart of an embodiment of an information pushing method according to the present application;

FIG. 4 is a flow chart of an embodiment of an information pushing method according to the present application;

FIG. 5 is a flow chart of an embodiment of an information pushing method according to the present application;

FIG. 6 is a flow chart of an embodiment of an information pushing method according to the present application;

FIG. 7 is a flow chart of an embodiment of an information pushing method according to the present application;

FIG. 8 is a flow chart of an embodiment of an information pushing method according to the present application;

FIG. 9 is a flow chart of an embodiment of an information pushing method according to the present application;

FIG. 10 is a flow chart of an embodiment of an information pushing method according to the present application;

FIG. 11 is a flow chart of an embodiment of an information pushing method according to the present application;

FIG. 12 is a flow chart of an embodiment of an information pushing method according to the present application;

FIG. 13 is a block diagram of an embodiment of a server for information pushing according to the present application;

FIG. 14 is a block diagram of an embodiment of a server for information pushing according to the present application;

FIG. 15 is a block diagram of an embodiment of a wireless network sharer client for information pushing according to the present application;

FIG. 16 is a block diagram of an embodiment of a wireless network sharer client for information pushing according to the present application; and

FIG. 17 is a block diagram of an embodiment of a third-party client for information pushing according to the present application.

DETAILED DESCRIPTION

Embodiments of the present application provide an information pushing method, server, sharer client and third-party client.

In order that persons skilled in the art can better understand the technical solutions in the present application, the technical solutions in the embodiments of the present application will be described clearly and completely with reference to the accompanying drawings in the embodiments of the present application. Apparently, the described embodiments are merely some of rather than all of the embodiments of the present application. Based on the embodiments of the present application, all other embodiments derived by persons of ordinary skill in the art without any creative efforts shall all fall within the protection scope of the present application.

Connections involved in the present application may include communication connections in a short-distance wireless communication manner, for example, communication technologies such as Bluetooth, Infrared (IrDA), a wireless local area network (WI-FI or WLAN, mostly using 802.11 series protocols), WIFI direct connection (Wi-Fi Direct), Ultra Wide Band communication, Zigbee, and Near Field Communication (NFC). Specific implementation solutions are introduced with reference to the above communication manners in the present application, and other communication manners may also be applied to the following specific solutions of the present application.

Illustration is given in such a wireless communication manner as WIFI, and particularly, illustration is given by using WIFI sharing as an example. In a scenario, a creator who creates a WIFI network or an owner who owns a WIFI network may share the WIFI network to other terminals in a paid or unpaid manner. The WIFI network may be implemented by a WIFI device, for example, a router having a WIFI function. In the present application, a body sharing the WIFI network, such as the WIFI network creator, the WIFI network owner or in similar cases is generally referred to as a WIFI sharer.

The present application also relates to a network platform, and the network platform may manage a WIFI sharer and a WIFI user by a server. Information pushing implemented in the present application may be a page, a link, a short message, a multimedia file, and the like preset by the WIFI sharer. By the process as shown in FIG. 1, the WIFI sharer may join the network platform and configure to-be-pushed information to be sending push information to a third-party terminal upon reception of a message indicating successful access of the third-party terminal to the WIFI network.

S100: A WIFI sharer client obtains a first identifier of a WIFI network selected from a WIFI network list scanned/stored by a WIFI sharer terminal, and sends the same to a server.

The WIFI sharer may possess the terminal, and the terminal may be a terminal device such as a mobile terminal or a desktop computer. An application may be installed in the terminal, to facilitate communication of the WIFI sharer and the server of the network platform. The application may be, for example, an application installed on an operating system of the terminal, or a web page. A subsequent client may mainly refer to a terminal in which an application is installed or a terminal capable of opening a web page to implement the same function.

The WIFI sharer client may obtain a WIFI network list scanned/stored by the terminal where the WIFI sharer client is installed.

The WIFI sharer may select, on the client interface, a specific WIFI network in the WIFI network list, for example, by an operation such as mouse click, mouse wheel scrolling, or touch selection. The WIFI sharer client may obtain a first identifier of the selected WIFI network, the identifier is generally, for example, a Service Set Identifier (SSID) of the WIFI network. Then, the WIFI sharer client may send the selected first identifier to the server.

The selected WIFI network is generally a WIFI network created or owned by the WIFI sharer, for example, the WIFI sharer has a wireless router with a certain coverage, and provides access sharing of the wireless router.

It should be noted that, before performing the S100, the WIFI sharer may log in to the client by using a user account and a password. The user account may be registered in advance, which is not elaborated herein.

The WIFI sharer client sending the first identifier to the server may be sending via a WIFI network connected by the WIFI sharer mobile terminal, and may also be sending via a communication network such as 2G, 3G, and 4G, which is not limited herein.

S110: The server generates a second identifier and sends the same to the WIFI sharer client.

Upon reception of the first identifier of the selected WIFI network sent by the WIFI sharer client, the server may be triggered to generate a second identifier. The process may be obtaining a character sequence based on the first identifier by using a certain hash algorithm, and may also be generating a random character sequence according to a predetermined rule. The character sequence may be used as the second identifier, and the identifier meets the requirements of a common SSID, for example, it is required that the maximum length does not exceed 32 characters, and it must be letters, numerals or a combination thereof, and some devices can also receive Chinese characters.

Then, the server may send the generated second identifier to the WIFI sharer client.

S120: The WIFI sharer changes the first identifier of the WIFI network into a third identifier based on the second identifier.

The WIFI sharer may change the first identifier of the WIFI network into a third identifier manually, for example, by logging in to a WIFI device through a terminal. The modification may be modifying the SSID on a WIFI device configuration page by logging in to the WIFI device through the terminal. It may be modification based on the second identifier generated by the server and sent to the WIFI sharer client. Ideally, the modified third identifier is the second identifier generated by the server and sent to the WIFI sharer client.

S130: The WIFI sharer client obtains a WIFI network list updated by a WIFI sharer mobile terminal and sends the third identifier of the selected WIFI network to the server.

The WIFI sharer mobile terminal can update a list of WIFI networks detected by it. The updated WIFI network list may include a WIFI network of the third identifier.

The WIFI sharer may select, on the client interface, the WIFI network corresponding to the third identifier in the WIFI network list. Then, the WIFI sharer client may receive the specific WIFI network selected from the WIFI network list by the WIFI sharer on the client interface.

Further, the WIFI sharer client may send the selected third identifier of the selected WIFI network to the server.

S140: The server compares the second identifier with the third identifier, allows successful authentication when the two identifiers are consistent, and registers information about the devices of the WIFI network.

Upon reception of the third identifier of the WIFI network sent by the WIFI sharer client, the server may compare the third identifier with the second identifier generated by the server. When the comparison result is that the two identifiers are consistent, it may be determined that the WIFI sharer has the right of control or ownership on the WIFI network corresponding to the third identifier (or the second identifier), and therefore, the WIFI sharer is allowed to share the WIFI network to the network platform. In contrast, if the third identifier is different from the second identifier after comparison, generally, the WIFI sharer does not have the right of control or ownership on the WIFI network corresponding to the third identifier, and therefore, authentication of sharing the network is not allowed.

Information of the WIFI network device may be a Media Access Control (MAC) address of the WIFI network device. The MAC address is unique, and can be used for distinguishing from other WIFI devices.

The server registering the information of the WIFI network device may be the WIFI sharer client sending the information of the WIFI network device to the server, and may also be the server directly obtaining the information from the WIFI network device, or the WIFI network device directly sending the information to the server.

The method further includes:

S150: The WIFI sharer client is configured to send push information to a third-party terminal upon reception of a message indicating successful access of the third-party terminal to the WIFI network.

An object of the configuration may be the WIFI sharer client, and may also be the WIFI network device. In other words, the WIFI network sharer configures that the WIFI network sharer client/the WIFI network device sends push information to a third-party terminal upon reception of a message indicating successful access of the third-party terminal to the WIFI network.

It should be noted that, the sequence of performing the S150 and the S100 to S140 does not need to be specifically limited.

By using the above method, it may be configured that the timing of information pushing is associated with the establishment of a specific connection.

By the process as shown in FIG. 2, the WIFI sharer may also add the network platform and configure to-be-pushed information to be sending push information to a third-party terminal upon reception of a message indicating successful access of the third-party terminal to the WIFI network.

S200: A WIFI sharer client obtains a first identifier of a WIFI network selected from a WIFI network list scanned/stored by a WIFI sharer terminal and a MAC address of a corresponding WIFI device, and sends the same to a server.

Different from S100, in S200, in addition to sending the first identifier of the selected WIFI network, the MAC address of the corresponding WIFI device is further sent. In this way, the server may acquire the first identifier of the selected WIFI network and the MAC address of the corresponding WIFI device.

S210: The server generates a second identifier and sends the same to the WIFI sharer client.

Similarly, upon reception of the first identifier of the selected WIFI network sent by the WIFI sharer client, the server may be triggered to generate a second identifier. The process may be obtaining a character sequence based on the first identifier by using a certain hash algorithm, and may also be a random character sequence generated according to a predetermined rule. The character sequence may be used as the second identifier, and the identifier meets the requirements of a common SSID, for example, it is required that the maximum length does not exceed 32 characters, and it must be letters, numerals or a combination thereof, some devices can also receive Chinese characters.

S220: The WIFI sharer changes the first identifier of the WIFI network into a third identifier based on the second identifier.

As described above, the WIFI sharer may change the first identifier of the WIFI network into a third identifier manually, for example, by logging in to a WIFI device through a terminal. The modification may be modifying the SSID on a WIFI device configuration page by logging in to the WIFI device through the terminal. It may be modification based on the second identifier generated by the server and sent to the WIFI sharer client. Ideally, the modified third identifier is the second identifier generated by the server and sent to the WIFI sharer client.

S230: The WIFI sharer client obtains a WIFI network list updated by a WIFI network sharer mobile terminal and sends the third identifier of the selected WIFI network and a MAC address of a corresponding WIFI device to the server.

Different from S130, in S230, in addition to sending the third identifier of the selected WIFI network to the server, the WIFI sharer client may further send the MAC address of the WIFI device corresponding to the selected WIFI network to the server. In this way, the server may acquire the third identifier of the selected WIFI network and the MAC address of the corresponding WIFI device.

S240: The server compares the second identifier with the third identifier, compares the MAC address of the WIFI network device corresponding to the first identifier with the MAC address of the WIFI device corresponding to the third identifier, and allows successful authentication when the comparison results are consistent.

In S240, by comparing the MAC address of the WIFI network device corresponding to the first identifier with the MAC address of the WIFI device corresponding to the third identifier, it may be determined that the first identifier and the third identifier sent by the WIFI sharer client are identifiers of the same WIFI device, which excludes the possibility that they are identifiers of different WIFI devices, that is, it is limited that the first identifier and the third identifier for comparison are the identifiers of the same WIFI device. In this way, by comparing the second identifier with the third identifier, it may be determined that the same WIFI device is modified when being triggered by the server, and the WIFI sharer notified by the server has the ownership/right of control on the WIFI network.

The method may further include:

S250: The WIFI network sharing client sends push information to the server, and notifies the server to send the push information to a third-party terminal upon reception of a message indicating successful access of the third-party terminal to the WIFI network.

By using the above method, it may be configured that the timing of information pushing is associated with the establishment of a specific connection.

By the process as shown in FIG. 3, the WIFI sharer may also add the network platform and configure to-be-pushed information to be sending push information to a third-party terminal upon reception of a message indicating successful access of the third-party terminal to the WIFI network.

S300: A WIFI sharer client obtains a first identifier of a WIFI network selected from a WIFI network list scanned/stored by a WIFI network sharer terminal and a MAC address of a corresponding WIFI network device, and sends the same to a server.

S310: The server generates a second identifier and sends the same to the WIFI network sharer client.

S320: The WIFI network sharer changes the first identifier of the WIFI network into a third identifier based on the second identifier.

S330: The WIFI network sharer client obtains a WIFI network list updated by a WIFI network sharer mobile terminal and sends the third identifier of the selected WIFI network and a MAC address of a corresponding WIFI device to the server.

S340: The server compares the second identifier with the third identifier, compares the MAC address of the WIFI network device corresponding to the first identifier with the MAC address of the WIFI network device corresponding to the third identifier, and allows successful authentication when the comparison results are consistent.

The method further includes:

S350: The WIFI network sharer configures that the WIFI network sharer client/the WIFI network device sends push information to a third-party terminal upon reception of a message indicating successful access of the third-party terminal to the WIFI network.

By using the above method, it may be configured that the timing of information pushing is associated with the establishment of a specific connection.

By the process as shown in FIG. 4, the WIFI sharer may also add the network platform and configure to-be-pushed information to be sending push information to a third-party terminal upon reception of a message indicating successful access of the third-party terminal to the WIFI network.

S400: A WIFI sharer client obtains a first identifier of a WIFI network selected from a WIFI network list scanned/stored by a WIFI network sharer terminal, and sends the same to a server.

S410: The server generates a second identifier and sends the same to the WIFI network sharer client.

S420: The WIFI network sharer changes the first identifier of the WIFI network into a third identifier based on the second identifier.

S430: The WIFI network sharer client obtains a WIFI network list updated by a WIFI network sharer mobile terminal and sends the third identifier of the selected WIFI network to the server.

S440: The server compares the second identifier with the third identifier, allows successful authentication when the two identifiers are consistent, and registers information about the devices of the WIFI network.

The method further includes:

S450: The WIFI network sharing client sends push information to the server, and notifies the server to send the push information to a third-party terminal upon reception of a message indicating successful access of the third-party terminal to the WIFI network.

By using the above method, it may be configured that the timing of information pushing is associated with the establishment of a specific connection.

Step procedures using the server as a body in the embodiments described in FIG. 1 and FIG. 4 of the present application are introduced hereinafter, as shown in FIG. 5, including:

S500: A server receives a first identifier of a selected WIFI network sent by a WIFI network sharer client.

S510: The server generates a second identifier and sends the same to the WIFI network sharer client.

S520: The server receives a third identifier of the selected WIFI network sent by the WIFI network sharer client.

S530: The server compares the second identifier with the third identifier, allows successful authentication when the two identifiers are consistent, and registers information about the devices of the WIFI network.

In addition, the method in FIG. 5 may further include:

S540: The server receives push information sent by the WIFI network sharer client, and sends the push information to a third-party terminal upon reception of a message indicating successful access of the third-party terminal to the WIFI network.

Step procedures using the server as a body in the embodiments described in FIG. 2 and FIG. 3 of the present application are introduced hereinafter, as shown in FIG. 6, including:

S600: A server receives a first identifier of a selected WIFI network sent by a WIFI network sharer client and a MAC address of a corresponding WIFI network device.

S610: The server generates a second identifier and sends the same to the WIFI network sharer client.

S620: The server receives a third identifier of the selected WIFI network sent by the WIFI network sharer client and a MAC address of a corresponding WIFI network device.

S630: The server compares the second identifier with the third identifier, compares the MAC address of the WIFI network device corresponding to the first identifier with the MAC address of the WIFI network device corresponding to the third identifier, and allows successful authentication when the comparison results are consistent.

In addition, the method in FIG. 6 may further include:

S640: The server receives push information sent by the WIFI network sharer client, and sends the push information to a third-party terminal upon reception of a message indicating successful access of the third-party terminal to the WIFI network.

Step procedures using the WIFI network sharer client as a body in the embodiment described in FIG. 1 of the present application are introduced hereinafter, as shown in FIG. 7, including:

S700: A WIFI network sharer client obtains a first identifier of a WIFI network selected from a WIFI network list scanned/stored by a WIFI network sharer terminal, and sends the same to a server.

S710: The WIFI network sharer client receives a second identifier sent by the server.

S720: The WIFI network sharer client obtains a WIFI network list updated by a WIFI network sharer mobile terminal and sends a third identifier of the selected WIFI network to the server.

The method may further include:

S730: The WIFI network sharer client receives the following configuration: sending push information to a third-party terminal upon reception of a message indicating successful access of the third-party terminal to the WIFI network.

Step procedures using the WIFI network sharer client as a body in the embodiment described in FIG. 2 of the present application are introduced hereinafter, as shown in FIG. 8, including:

S800: A WIFI network sharer client obtains a first identifier of a WIFI network selected from a WIFI network list scanned/stored by a WIFI network sharer terminal and a MAC address of a corresponding WIFI network device, and sends the same to a server.

S810: The WIFI network sharer client receives a second identifier sent by the server and a MAC address of a corresponding WIFI network device.

S820: The WIFI network sharer client obtains a WIFI network list updated by a WIFI network sharer mobile terminal and sends a third identifier of the selected WIFI network and a MAC address of a corresponding WIFI device to the server.

The method may further include:

S830: The WIFI network sharer client receives the following configuration: sending push information to a third-party terminal upon reception of a message indicating successful access of the third-party terminal to the WIFI network.

In the embodiments of FIG. 1 to FIG. 8, the process of the server generating the second identifier may include:

Manner 1: the server obtaining a character sequence by using a hash algorithm based on the received first identifier to serve as the second identifier;

or,

Manner 2: the server generating a random character sequence according to a preset rule to serve as the second identifier.

In the methods of FIG. 1 to FIG. 8, a connection key may be configured to enhance the security and performance of the WIFI sharing network. The WIFI network sharer client sends a connection key of the selected WIFI network to the server. Upon reception of the connection key of the selected WIFI network sent by the WIFI network sharer client, the server may store the connection key.

In the methods of FIG. 1 to FIG. 8, a connection key may be configured to enhance the security and performance of the WIFI sharing network; moreover, the server may verify correctness of the key. For example, the WIFI network sharer may choose to connect a selected WIFI sharing network, and may input a connection key as prompted. In this way, the WIFI network sharer client obtains the connection key for connecting the selected WIFI network. After the WIFI network sharer mobile terminal is connected to the selected WIFI network successfully by using the connection key, the WIFI network sharer client may send the obtained connection key to the server, and then the server may save the connection key.

The server may send the connection key of the WIFI network to a third-party terminal after the third-party terminal enters a coverage area of the WIFI network, or the server may send the connection key to a third-party terminal upon reception of a request from the third-party terminal. In this way, the third-party terminal may access the WIFI network by using the connection key subsequently.

The above embodiment describes how to configure the timing of information pushing to be associated with the establishment of a specific connection. A method of a third-party terminal connecting to a shared network and receiving push information when entering the shared network in the present application is described below with reference to FIG. 9:

S900: A third-party terminal enters a WIFI shared network area, and a third-party client obtains a device MAC address broadcast by the WIFI shared network.

An application may be installed in the third-party client, to facilitate communication of the WIFI sharer and the server of the network platform. The application may be, for example, an application installed on an operating system of the terminal, or a web page. The third-party client may mainly refer to a terminal in which an application is installed or a terminal capable of opening a web page to implement the similar function.

The third-party terminal may obtain information of a location where it is located by using a positioning system thereof such as a satellite positioning system or a base station positioning system. In this way, in a case that a coverage is preset for the WIFI network device, the third-party terminal may enter the coverage of the WIFI network device by using the positioning system.

The third-party terminal, when starting the WIFI function, can scan and receive a broadcast wireless signal, and can obtain a MAC address of the WIFI network device from the broadcast signal.

S910: The third-party client compares the obtained MAC address with a MAC in a stored MAC address list, and when the obtained MAC address is in the stored MAC address list, the third-party client obtains a corresponding WIFI network identifier from a correspondence between a stored MAC address and a WIFI network identifier.

The third-party client may obtain and store the WIFI network list and the correspondence between the MAC address and a WIFI identifier from the server in advance, and then store the same in the third-party client; or when the third-party terminal enters the WIFI shared network area, the third-party client sends a geographical location to the server, the server sends, according to the geographical location of the third-party client, a MAC address list of an area where the third-party client is located and a correspondence between a MAC address and a WIFI network identifier to the third-party client, and the third-party client stores the MAC address list and the correspondence between a MAC address and a WIFI network identifier.

S920: The third-party client initiates a connection request to a WIFI network corresponding to the MAC address by using the obtained WIFI network identifier.

S930: After the third-party client is successfully connected to the WIFI network corresponding to the MAC address by using the obtained WIFI network identifier, the method further includes: the third-party client receiving push information sent by the WIFI network device, or the third-party client receiving push information sent by the WIFI network device through the WIFI network sharer client.

With reference to the methods in FIG. 1 to FIG. 8, the WIFI shared network may not configure a connection key, and meanwhile may choose not to broadcast the SSID. In this way, when the third-party terminal enters the coverage area of the WIFI network, the SSID is unknown, and therefore, the WIFI shared network cannot be directly connected, thereby being capable of avoiding an unauthorized third-party terminal from accessing the WIFI shared network. According to the methods in FIG. 1 to FIG. 8, the third-party terminal may query a MAC address list stored therein through the received broadcast MAC address, to obtain a WIFI network identifier, that is, the SSID, such that the SSID is used to connect the WIFI network in the subsequent steps.

The above embodiment describes how to configure the timing of information pushing to be associated with the establishment of a specific connection. A method of a third-party terminal connecting to a shared network and receiving push information when entering the shared network in the present application is described below with reference to FIG. 10:

S1000: A third-party terminal enters a WIFI shared network area, and a third-party client obtains a device MAC address broadcast by the WIFI shared network.

An application may be installed in the third-party client, to facilitate communication of the WIFI sharer and the server of the network platform. The application may be, for example, an application installed on an operating system of the terminal, or a web page. The third-party client may mainly refer to a terminal in which an application is installed or a terminal capable of opening a web page to implement the similar function.

S1010: The third-party client compares the obtained MAC address with a MAC in a stored MAC address list, and when the obtained MAC address is in the stored MAC address list, the third-party client obtains a corresponding WIFI network identifier and connection key from a correspondence between a stored MAC address and a WIFI network identifier as well as a connection key.

The third-party client may obtain and store the WIFI network list and the correspondence between the MAC address and a WIFI identifier from the server in advance, and then store the same in the third-party client; or when the third-party terminal enters the WIFI shared network area, the third-party client sends a geographical location to the server, the server sends, according to the geographical location of the third-party client, a MAC address list of an area where the third-party client is located and a correspondence between a MAC address and a WIFI network identifier to the third-party client, and the third-party client stores the MAC address list and the correspondence between a MAC address and a WIFI network identifier.

Similarly, the connection key may also be obtained from the third-party client in advance and then stored, for example, obtained from the server together with the MAC address list and then stored; also, when the third-party terminal enters the WIFI shared network area, the third-party client sends a geographical location to the server, the server may send, according to the geographical location of the third-party client, a connection key corresponding to a MAC address of an area where the third-party client is located to the third-party client, and the third-party client may store the connection key corresponding to the MAC address.

S1020: The third-party client initiates a connection request to a WIFI network corresponding to the MAC address by using the obtained WIFI network identifier and the connection key.

S1030: After the third-party client is successfully connected to the WIFI network corresponding to the MAC address by using the obtained WIFI network identifier, the method further includes: the third-party client receiving push information sent by the WIFI network device, or the third-party client receiving push information sent by the WIFI network device through the WIFI network sharer client.

The above embodiment describes how to configure the timing of information pushing to be associated with the establishment of a specific connection. A method of a third-party terminal connecting to a shared network and receiving push information when entering the shared network in the present application is described below with reference to FIG. 11:

S1100: A third-party terminal enters a WIFI shared network area, and a third-party client obtains a first set of device MAC addresses broadcast by the WIFI shared network.

S1110: The third-party client compares the obtained first set of MAC addresses with a second set of MAC addresses in a stored MAC address list in the same WIFI network shared area, and when the number of MAC addresses in an intersection reaches or exceeds a predetermined number, the third-party client obtains WIFI network identifiers corresponding to the MAC addresses in the intersection from a correspondence between a stored MAC address and a WIFI network identifier.

S1120: The third-party client initiates a connection request to a WIFI network corresponding to the MAC address by using at least one of the obtained WIFI network identifiers.

S1130: After the third-party client is successfully connected to the WIFI network corresponding to the MAC address, the method further includes:

the third-party client receiving push information sent by the connected WIFI network device/WIFI network sharer client.

The above embodiment describes how to configure the timing of information pushing to be associated with the establishment of a specific connection. A method of a third-party terminal connecting to a shared network and receiving push information when entering the shared network in the present application is described below with reference to FIG. 12:

S1200: A third-party terminal enters a WIFI shared network area, and a third-party client obtains a first set of device MAC addresses broadcast by the WIFI shared network.

S1210: The third-party client compares the obtained first set of MAC addresses with a second set of MAC addresses in a stored MAC address list, and when the number of MAC addresses in an intersection reaches or exceeds a predetermined number, the third-party client obtaining WIFI network identifiers and connection keys corresponding to the MAC addresses in the intersection from a correspondence between a stored MAC address and a WIFI network identifier as well as a connection key.

S1220: The third-party client initiates a connection request to a WIFI network corresponding to the MAC address by using at least one pair of the obtained WIFI network identifiers and connection keys.

S1230: After the third-party client is successfully connected to the WIFI network corresponding to the MAC address by using the obtained WIFI network identifier, the method further includes:

the third-party client receiving push information sent by the connected WIFI network device/WIFI network sharer client/server.

In the methods shown in FIG. 11 and FIG. 12, the MAC address list and the correspondence between a MAC address and a WIFI network identifier stored in the third-party client may include:

a WIFI network list and a correspondence between a MAC address and a WIFI network identifier acquired by the third-party client from the server and stored in advance;

or,

when the third-party terminal enters the WIFI shared network area, the third-party client sending a geographical location to the server, the server sending, according to the geographical location of the third-party client, a MAC address list of an area where the third-party client is located and a correspondence between a MAC address and a WIFI network identifier to the third-party client, and then the third-party client storing the MAC address list and the correspondence between a MAC address and a WIFI network identifier.

In the method shown in FIG. 12, the connection key stored in the third-party client may include:

a connection key acquired by the third-party client from the server and stored in advance;

or,

when the third-party terminal enters the WIFI shared network area, the third-party client sending a geographical location to the server, the server sending, according to the geographical location of the third-party client, a connection key corresponding to a MAC address of an area where the third-party client is located to the third-party client, and then the third-party client storing the connection key corresponding to the MAC address.

A server is introduced in the following, which, as shown in FIG. 13, may include:

a first receiving unit 1301, configured to receive a first identifier of a selected wireless network sent by a wireless network sharer client;

a generation unit 1302, configured to generate a second identifier and send the same to the wireless network sharer client;

a second receiving unit 1303, configured to receive a third identifier of the selected wireless network sent by the wireless network sharer client; and

a comparison unit 1304, configured to compare the second identifier with the third identifier, allow successful authentication when the two identifiers are consistent, and register information about the devices of the wireless network.

A server is introduced in the following, which may include:

a first receiving unit 1301, configured to receive a first identifier of a selected wireless network sent by a wireless network sharer client and a MAC address of a corresponding wireless network device;

a generation unit 1302, configured to generate a second identifier and send the same to the wireless network sharer client;

a second receiving unit 1303, configured to receive a third identifier of the selected wireless network sent by the wireless network sharer client and a MAC address of a corresponding wireless network device; and

a comparison unit 1304, configured to compare the second identifier with the third identifier, compare the MAC address of the wireless network device corresponding to the first identifier with the MAC address of the wireless network device corresponding to the third identifier, and allow successful authentication when the comparison results are consistent.

Further, the server shown in FIG. 13, as shown in FIG. 14, may also include:

a third receiving unit 1305, configured to receive push information sent by the wireless network sharer client; and

a notification receiving unit 1306, configured to receive the following notification: the server sending the push information to a third-party terminal upon reception of a message indicating successful access of the third-party terminal to the wireless network.

A wireless network sharer client is introduced in the following, which, as shown in FIG. 15, may include:

a first obtaining unit 1501, configured to obtain a first identifier of a wireless network selected from a wireless network list scanned/stored by a wireless network sharer terminal, and send the same to a server;

a fifth receiving unit 1502, configured to receive a second identifier sent by the server; and

a second obtaining unit 1503, configured to obtain a wireless network list updated by a wireless network sharer mobile terminal and send a third identifier of the selected wireless network in the list to the server.

A wireless network sharer client is introduced in the following, which may include:

a first obtaining unit 1501, configured to obtain a first identifier of a wireless network selected from a wireless network list scanned/stored by a wireless network sharer terminal and a MAC address of a corresponding wireless network device, and send the same to a server;

a fifth receiving unit 1502, configured for the wireless network sharer client to receive a second identifier sent by the server and a MAC address of a corresponding wireless network device; and

a second obtaining unit 1503, configured to obtain a wireless network list updated by a wireless network sharer mobile terminal and send a third identifier of the selected wireless network in the list and a MAC address of a corresponding wireless network device to the server.

Further, the wireless network sharing client shown in FIG. 15, as shown in FIG. 16, may also include:

a sixth receiving unit 1601, configured to receive the following configuration: sending push information to a third-party terminal upon reception of a message indicating successful access of the third-party terminal to the wireless network,

or,

a notification unit 1602, configured to send push information to the server, and notify the server to send the push information to a third-party terminal upon reception of a message indicating successful access of the third-party terminal to the wireless network.

A third-party client is introduced in the following, which, as shown in FIG. 17, may include:

a third obtaining unit 1701, configured to, when a third-party terminal enters a wireless shared network area, obtain a device MAC address broadcast by the wireless shared network;

a fourth obtaining unit 1702, configured to compare the obtained MAC address with a MAC address in a stored MAC address list, and when the obtained MAC address is in the stored MAC address list, obtain a corresponding wireless network identifier from a correspondence between a stored MAC address and a wireless network identifier;

a requesting unit 1703, configured to initiate a connection request to a wireless network corresponding to the MAC address by using the obtained wireless network identifier; and

a seventh receiving unit 1704, configured to receive push information sent by the connected wireless network device/wireless network sharer client/server.

A third-party client is introduced in the following, which may include:

a third obtaining unit 1701, configured to, when a third-party terminal enters a wireless shared network area, obtain a device MAC address broadcast by the wireless shared network;

a fourth obtaining unit 1702, configured to compare the obtained MAC address with a MAC address in a stored MAC address list, and when the obtained MAC address is in the stored MAC address list, the third-party client obtaining a corresponding wireless network identifier and connection key from a correspondence between a stored MAC address and a wireless network identifier as well as a connection key;

a requesting unit 1703, configured to initiate a connection request to a wireless network corresponding to the MAC address by using the obtained wireless network identifier and connection key; and

a seventh receiving unit 1704, configured to receive push information sent by the connected wireless network device/wireless network sharer client/server.

A third-party client is introduced in the following, which may include:

a third obtaining unit 1701, configured to, when a third-party terminal enters a wireless shared network area, obtain a first set of device MAC addresses broadcast by the wireless shared network;

a fourth obtaining unit 1702, configured to compare the obtained first set of MAC addresses with a second set of MAC addresses in a stored MAC address list in the same wireless network shared area, and when the number of MAC addresses in an intersection reaches or exceeds a predetermined number, the third-party client obtaining wireless network identifiers corresponding to the MAC addresses in the intersection from a correspondence between a stored MAC address and a wireless network identifier;

a requesting unit 1703, configured to initiate a connection request to a wireless network corresponding to the MAC address by using at least one of the obtained wireless network identifiers; and

a seventh receiving unit 1704, configured to receive push information sent by the connected wireless network device/wireless network sharer client/server.

A third-party client is introduced in the following, which may include:

a third obtaining unit 1701, configured to, when a third-party terminal enters a wireless shared network area, obtain a first set of device MAC addresses broadcast by the wireless shared network;

a fourth obtaining unit 1702, configured to compare the obtained first set of MAC addresses with a second set of MAC addresses in a stored MAC address list, and when the number of MAC addresses in an intersection reaches or exceeds a predetermined number, the third-party client obtaining wireless network identifiers and connection keys corresponding to the MAC addresses in the intersection from a correspondence between a stored MAC address and a wireless network identifier as well as a connection key;

a requesting unit 1703, configured to initiate a connection request to a wireless network corresponding to the MAC address by using at least one pair of the obtained wireless network identifiers and corresponding connection keys; and

a seventh receiving unit 1704, configured to receive push information sent by the connected wireless network device/wireless network sharer client/server.

In the 1990s, an improvement on a technology may be obviously distinguished as an improvement on hardware (for example, an improvement on a circuit structure such as a diode, a transistor, and a switch) or an improvement on software (an improvement on a method procedure). However, with the development of technologies, improvements of many method procedures at present may be considered as direct improvements on hardware circuit structures. Almost all designers program the improved method procedures into hardware circuits to obtain corresponding hardware circuit structures. Therefore, it cannot be assumed that the improvement of a method procedure cannot be implemented by using a hardware entity module. For example, a Programmable Logic Device (PLD) (for example, a Field Programmable Gate Array (FPGA)) is such an integrated circuit, and logic functions thereof are determined by a user programming devices. Designers program by themselves to “integrate” a digital system into a piece of PLD, without inviting a chip manufacturer to design and manufacture a dedicated integrated circuit chip 2. Moreover, at present, instead of manually manufacturing an integrated circuit chip, this programming is mostly implemented by using “logic compiler” software, which is similar to a software complier used during development and writing of an application, and if previous original codes are to be compiled, the codes also need to be written by using a specific programming language, which is referred to as a Hardware Description Language (HDL). However, there is not only one HDL, but there are many types of HDL, such as ABEL (Advanced Boolean Expression Language), AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, RHDL (Ruby Hardware Description Language). At present, VHDL (Very-High-Speed Integrated Circuit Hardware Description Language) and Verilog2 are most common. Persons skilled in the art should also know that a hardware circuit for implementing the logic method procedure may be easily obtained only by slightly logically programming the method procedure using the above several hardware description languages and programming it into an integrated circuit.

A controller may be implemented in any suitable manner. For example, the controller may be in the form of, for example, a microprocessor or a processor and a computer readable medium storing computer readable program codes (for example, software or firmware) executable by the (micro)processor, a logic gate, a switch, an Application Specific Integrated Circuit (ASIC), a programmable logic controller, and an embedded micro-controller. Examples of the controller include, but are not limited to, the following micro-controllers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320. A memory controller may also be implemented as a part of the control logic of a memory.

Persons skilled in the art also know that, in addition to implementing the controller by using pure computer readable program codes, the method steps may be logically programmed to enable the controller to implement the same function in a form of a logic gate, a switch, an application specific integrated circuit, a programmable logic controller and an embedded micro-controller. Therefore, such a controller may be considered as a hardware component, and apparatuses included therein and used for implementing various functions may also be considered as structures inside the hardware component. Or, further, the apparatuses used for implementing various functions may be considered as both software modules for implementing the method and structures inside the hardware component.

The system, apparatus, module or unit illustrated in the above embodiments may be specifically implemented by using a computer chip or an entity, or a product having a certain function.

For ease of description, when the apparatus is described, it is divided into various units in terms of functions for respective descriptions. Definitely, when the present application is implemented, functions of the units may be implemented in the same or multiple software and/or hardware.

Based on the foregoing descriptions of the implementation manners, persons skilled in the art may clearly understand that the present application may be implemented by software plus a necessary universal hardware platform. Based on such an understanding, the technical solutions of the present application essentially or the part contributing to the prior art may be implemented in a form of a software product. The computer software product may be stored in a storage medium, such as a ROM/RAM, a magnetic disk and an optical disc, and includes several instructions for instructing a computer device (which may be a personal computer, a server, or a network device) to perform the methods described in the embodiments or some of the embodiments of the present application.

The embodiments in the specification are described progressively, identical or similar parts of the embodiments may be obtained with reference to each other, and each embodiment focuses on describing differences between the embodiment and other embodiments. Especially, the system embodiment is basically similar to the method embodiment, so that it is described simply; please refer to the description of the method embodiment for related content.

The present application may be applicable to various universal or dedicated computer system environments or configurations, such as, a personal computer, a server computer, a handheld device or a portable device, a tablet device, a multi-processor system, a microprocessor-based system, a set top box, a programmable consumer electronic device, a network PC, a microcomputer, a mainframe computer, and a distributed computing environment including any of the above systems or devices.

The present application may be described in a general context of a computer executable instruction executed by a computer, for example, a program module. Generally, the program module includes a routing, a program, an object, an assembly, a data structure, and the like used for executing a specific task or implementing a specific abstract data type. The present application may also be implemented in a distributed computing environment, and in the distributed computer environment, a task is executed by using remote processing devices connected through a communications network. In the distributed computer environment, the program module may be located in a local and remote computer storage medium including a storage device.

Although the present application is described through embodiments, persons of ordinary skill in the art should know that the present application has many variations and changes without departing from the spirit of the present application, and it is expected that the appended claims cover the variations and changes without departing from the spirit of the present application. 

The invention claimed is:
 1. An information pushing method, comprising: when a third-party terminal enters a wireless network coverage area, obtaining, by the third-party terminal, a first set of device media access control (MAC) addresses broadcasted by a wireless network; comparing, by the third-party terminal, the obtained first set of MAC addresses with a second set of MAC addresses in a MAC address list stored on the third-party terminal, and when a number of common MAC addresses in the first and second sets reaches a predetermined number, obtaining, by the third-party terminal, wireless network identifiers corresponding to the common MAC addresses from correspondence relationships between MAC addresses and wireless network identifiers; initiating, by the third-party terminal, a connection request to a wireless network corresponding to the common MAC addresses by using at least one of the obtained wireless network identifiers; and in response to that the third-party terminal is successfully connected to the wireless network corresponding to the common MAC addresses by using the obtained wireless network identifier according to which the connection request is initiated, receiving, by the third-party terminal, push information sent by a network device, a terminal, or a server.
 2. The method according to claim 1, wherein the wireless network identifiers are SSID (Service Set Identifier) of the wireless network.
 3. The method according to claim 1, wherein the wireless network has been authenticated by the server.
 4. The method of claim 1, wherein: obtaining, by the third-party terminal, the wireless network identifiers corresponding to the common MAC addresses from the correspondence relationships between MAC addresses and wireless network identifiers comprises: obtaining, by the third-party terminal, the wireless network identifiers and a connection key corresponding to the common MAC addresses from the correspondence relationships between MAC addresses, wireless network identifiers, and connection keys; and initiating, by the third-party terminal, the connection request to the wireless network corresponding to the common MAC addresses by using the at least one of the obtained wireless network identifiers comprises: initiating, by the third-party terminal, the connection request to the wireless network corresponding to the common MAC addresses by using the at least one of the obtained wireless network identifiers and connection key.
 5. The method according to claim 4, wherein the connection keys are obtained by the third-party terminal from the server and are stored in the third-party terminal.
 6. The method according to claim 4, wherein: the connection keys are sent by the server to the third-party terminal based on a geographical location and are stored in the third-party terminal; and the geographical location is sent by the third-party terminal to the server when the third-party terminal enters the wireless network coverage area.
 7. The method of claim 1, wherein: obtaining, by the third-party terminal, the wireless network identifiers corresponding to the common MAC addresses from correspondence relationships between MAC addresses and wireless network identifiers comprises: obtaining, by the third-party terminal, the wireless network identifiers and connection keys corresponding to the common MAC addresses from correspondence relationships between MAC addresses, wireless network identifiers, and connection keys; initiating, by the third-party terminal, the connection request to the wireless network corresponding to the common MAC addresses by using at least one of the obtained wireless network identifiers comprises: initiating, by the third-party terminal, the connection request to the wireless network corresponding to the common MAC addresses by using at least one pair of the obtained wireless network identifiers and corresponding connection keys; and in response to that the third-party terminal is successfully connected to the wireless network corresponding to the common MAC addresses by using the obtained wireless network identifier according to which the connection request is initiated, receiving, by the third-party terminal, push information sent by the network device, the terminal, or the server comprises: in response to that the third-party terminal is successfully connected to the wireless network corresponding to the common MAC addresses by using the wireless network identifier and the corresponding connection key according to which the connection request is initiated, receiving, by the third-party terminal, push information sent by the network device, the terminal, or the server.
 8. The method according to claim 1, wherein the MAC address list and the correspondence relationships between the MAC addresses and the wireless network identifiers are obtained by the third-party terminal from the server and are stored in the third-party terminal.
 9. The method according to claim 1, wherein: the MAC address list and the correspondence relationships between the MAC addresses and the wireless network identifiers are sent by the server to the third-party terminal based on a geographical location and are stored in the third-party terminal; and the geographical location is sent by the third-party terminal to the server when the third-party terminal enters the wireless network coverage area.
 10. An apparatus comprising a processor and a non-transitory computer-readable storage medium storing instructions that, when executed by the processor, cause the apparatus to perform an information pushing method, the method comprising: when the apparatus enters a wireless network coverage area, obtaining a first set of device media access control (MAC) addresses broadcasted by a wireless network; comparing the obtained first set of MAC addresses with a second set of MAC addresses in a MAC address list stored on the apparatus, and when a number of common MAC addresses in the first and second sets reaches a predetermined number, obtaining wireless network identifiers and connection keys corresponding to the common MAC addresses from correspondence relationships between MAC addresses, wireless network identifiers, and connection keys; initiating a connection request to the wireless network corresponding to the common MAC addresses by using at least one pair of the obtained wireless network identifiers and corresponding connection keys; and in response to that the apparatus is successfully connected to the wireless network corresponding to the MAC address by using the at least one pair of the obtained wireless network identifiers and the corresponding connection keys according to which the connection request is initiated, the apparatus receiving push information sent by a network device, a terminal, or a server.
 11. The apparatus according to claim 10, wherein the wireless network identifiers are SSID (Service Set Identifier) of the wireless network.
 12. The apparatus according to claim 10, wherein the wireless network has been authenticated by the server.
 13. The apparatus according to claim 10, wherein the connection keys are obtained by the apparatus from the server and are stored in the apparatus.
 14. The apparatus according to claim 10, wherein: the connection keys are sent by the server to the apparatus based on a geographical location and are stored in the apparatus; and the geographical location is sent by the apparatus to the server when the apparatus enters the wireless network coverage area.
 15. The apparatus according to claim 10, wherein the MAC address list and the correspondence relationships between the MAC addresses and the wireless network identifiers are obtained by the apparatus from the server and are stored in the apparatus.
 16. The apparatus according to claim 10, wherein: the MAC address list and the correspondence relationships between the MAC addresses and the wireless network identifiers are sent by the server to the apparatus based on a geographical location and are stored in the apparatus; and the geographical location is sent by the apparatus to the server when the apparatus enters the wireless network coverage area.
 17. An information pushing method, comprising: when a third-party terminal enters a wireless network coverage area, obtaining, by the third-party terminal, a first set of device media access control (MAC) addresses broadcasted by a wireless network; comparing, by the third-party terminal, the obtained first set of MAC addresses with a second set of MAC addresses in a MAC address list stored on the third-party terminal, and when a number of common MAC addresses in the first and second sets reaches a predetermined number, obtaining, by the third-party terminal, wireless network identifiers and connection keys corresponding to the common MAC addresses from correspondence relationships between MAC addresses, wireless network identifiers, and connection keys; initiating, by the third-party terminal, a connection request to the wireless network corresponding to the common MAC addresses by using at least one pair of the obtained wireless network identifiers and corresponding connection keys; and in response to that the third-party terminal is successfully connected to the wireless network corresponding to the common MAC addresses by using the at least one pair of the obtained wireless network identifiers and the corresponding connection keys according to which the connection request is initiated, receiving, by the third-party terminal, push information sent by a network device, a terminal, or a server.
 18. A non-transitory computer-readable storage medium configured with instructions executable by one or more processors of a third-party terminal to cause the one or more processors to perform operations comprising: when the third-party terminal enters a wireless network coverage area, obtaining a first set of device media access control (MAC) addresses broadcasted by a wireless network; comparing the obtained first set of MAC addresses with a second set of MAC addresses in a MAC address list stored on the third-party terminal, and when a number of common MAC addresses in the first and second sets reaches a predetermined number, obtaining wireless network identifiers corresponding to the common MAC addresses from correspondence relationships between MAC addresses and wireless network identifiers; initiating a connection request to a wireless network corresponding to the common MAC addresses by using at least one of the obtained wireless network identifiers; and in response to that the third-party terminal is successfully connected to the wireless network corresponding to the common MAC addresses by using the obtained wireless network identifier according to which the connection request is initiated, receiving push information sent by a network device, a terminal, or a server.
 19. The non-transitory computer-readable storage medium of claim 18, wherein: obtaining wireless network identifiers corresponding to the common MAC addresses from the correspondence relationships between MAC addresses and wireless network identifiers comprises: obtaining wireless network identifiers and a connection key corresponding to the common MAC addresses from the correspondence relationships between MAC addresses, wireless network identifiers, and connection keys; and initiating the connection request to the wireless network corresponding to the common MAC addresses by using the at least one of the obtained wireless network identifiers comprises: initiating connection request to the wireless network corresponding to the common MAC addresses by using the at least one of the obtained wire less network identifiers and connection key.
 20. The non-transitory computer-readable storage medium of claim 19, wherein: the connection keys are sent by the server to the third-party terminal based on a geographical location and are stored in the third-party terminal; and the geographical location is sent by the third-party terminal to the server when the third-party terminal enters the wireless network coverage area. 